package com.dragon.modules.yuegou.excel.act;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.time.LocalDateTime;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\act\\IssueDetail.xlsx")
public class IssueDetailWorkbook {

    @ExcelSheet
    @JsonProperty("礼包发放记录表")
    private List<IssueDetailRow> issueDetail;

    public static class IssueDetailRow {
        @JsonProperty("礼包名称")
        private String giftBagName;

        @JsonProperty("手机号")
        private String mobile;

        @JsonProperty("发放时间")
        private LocalDateTime issueTime;

        @JsonProperty("是否撤回")
        private String withdraw;

        public String getGiftBagName() {
            return giftBagName;
        }

        public void setGiftBagName(String giftBagName) {
            this.giftBagName = giftBagName;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public LocalDateTime getIssueTime() {
            return issueTime;
        }

        public void setIssueTime(LocalDateTime issueTime) {
            this.issueTime = issueTime;
        }

        public String getWithdraw() {
            return withdraw;
        }

        public void setWithdraw(String withdraw) {
            this.withdraw = withdraw;
        }
    }

    public List<IssueDetailRow> getIssueDetail() {
        return issueDetail;
    }

    public void setIssueDetail(List<IssueDetailRow> issueDetail) {
        this.issueDetail = issueDetail;
    }
}
